package org.smartboot.flow.example;

import org.smartboot.flow.core.executable.AbstractExecutable;
import org.springframework.stereotype.Service;

/**
 * @author qinluo
 * @date 2022-11-11 21:44:21
 * @since 1.0.0
 */
@Service
public class ErrorStep extends AbstractExecutable<Integer, String> {

    @Override
    public void execute(Integer integer, String s) {
        System.out.println("error executed =======");
        throw new IllegalArgumentException("Error");
    }
}
